Module modules.errors

File name: errors.py Author: Martin Jůda Python Version: 3.7 Description: Module with custom exceptions

Expand source code
"""
    File name: errors.py
    Author: Martin Jůda
    Python Version: 3.7
    Description: Module with custom exceptions
"""


class NoActiveStudyError(Exception):
    """Card number is not associated with active study"""
    pass


class StagUnavailableError(Exception):
    """Connection to Stag can not be established"""
    pass

Classes

class NoActiveStudyError (*args, **kwargs)

Card number is not associated with active study

Expand source code
class NoActiveStudyError(Exception):
    """Card number is not associated with active study"""
    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException
class StagUnavailableError (*args, **kwargs)

Connection to Stag can not be established

Expand source code
class StagUnavailableError(Exception):
    """Connection to Stag can not be established"""
    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException